package com.fanh.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

public class GuideCommentFile implements Serializable {
    @ApiModelProperty(value = "编号")
    private String id;

    @ApiModelProperty(value = "教师端编码")
    private String code;

    @ApiModelProperty(value = "名称：或内容")
    private String name;

    @ApiModelProperty(value = "类型:text/audio/video")
    private String type;

    @ApiModelProperty(value = "时长")
    private Integer seconds;

    @ApiModelProperty(value = "视频首帧图片")
    private String videoImage;

    @ApiModelProperty(value = "上传状态")
    private Integer uploadStatus;

    @ApiModelProperty(value = "课程编号")
    private String courseId;

    @ApiModelProperty(value = "课编号")
    private String lessonId;

    @ApiModelProperty(value = "批注编号")
    private String commentId;

    @ApiModelProperty(value = "创建时间")
    private Date createDate;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getSeconds() {
        return seconds;
    }

    public void setSeconds(Integer seconds) {
        this.seconds = seconds;
    }

    public String getVideoImage() {
        return videoImage;
    }

    public void setVideoImage(String videoImage) {
        this.videoImage = videoImage;
    }

    public Integer getUploadStatus() {
        return uploadStatus;
    }

    public void setUploadStatus(Integer uploadStatus) {
        this.uploadStatus = uploadStatus;
    }

    public String getCourseId() {
        return courseId;
    }

    public void setCourseId(String courseId) {
        this.courseId = courseId;
    }

    public String getLessonId() {
        return lessonId;
    }

    public void setLessonId(String lessonId) {
        this.lessonId = lessonId;
    }

    public String getCommentId() {
        return commentId;
    }

    public void setCommentId(String commentId) {
        this.commentId = commentId;
    }

    // @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", code=").append(code);
        sb.append(", name=").append(name);
        sb.append(", type=").append(type);
        sb.append(", seconds=").append(seconds);
        sb.append(", videoImage=").append(videoImage);
        sb.append(", uploadStatus=").append(uploadStatus);
        sb.append(", courseId=").append(courseId);
        sb.append(", lessonId=").append(lessonId);
        sb.append(", commentId=").append(commentId);
        sb.append(", createDate=").append(createDate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}